public class Const{
    public const int playerSpeed = 5;
    public const int gameMinite = 3;
    public const int digTime = 2;
    public const float flyTime = 0.5f;  // 记得修改动画时常
    public const float dizzyTime = 2.0f;
   



    // 掉落配置 
    // 参数依次表示  开始第几秒降落、目标数量范围1、目标数量范围2、时间范围1、时间范围2
    public static float[,] dropMap = new float[16, 5]{
        {5.0f, 4.0f, 4.0f, 0.0f, 0.3f},
        {20.0f, 3.0f, 3.0f, 0.0f, 0.3f},
        {35.0f, 2.0f, 2.0f, 0.0f, 0.3f},
        {60.0f, 5.0f, 5.0f, 0.0f, 0.3f},
        {75.0f, 1.0f, 1.0f, 0.0f, 0.3f},
        {90.0f, 2.0f, 2.0f, 0.0f, 0.3f},
        {105.0f, 1.0f, 1.0f, 0.0f, 0.3f},
        {120.0f, 3.0f, 3.0f, 0.0f, 0.3f},
        {135.0f, 1.0f, 1.0f, 0.0f, 0.3f},
        {160.0f, 1.0f, 1.0f, 0.0f, 0.3f},
        {170.0f, 4.0f, 4.0f, 0.0f, 0.3f},
        {180.0f, 1.0f, 1.0f, 0.0f, 0.3f},
        {190.0f, 3.0f, 3.0f, 0.0f, 0.3f},
        {200.0f, 10.0f, 10.0f, 0.0f, 0.3f},
        {210.0f, 1.0f, 1.0f, 0.0f, 0.3f},
        {220.0f, 20.0f, 20.0f, 0.0f, 0.3f},
    };
    // 金币掉落动作时间
    public const float coinDropAniTime = 4.0f;

    //  金币初始位置偏差
    public const int coinAddWidth = 0;
    public const int coinAddHeight = 4;
    // 单一颜色金币能存在的最大数量
    public const int maxCoinExist = 5;
    // 金币自动藏下去时间
    public const float coinAutoHideTime = 3.0f;
    public const float coinMinOpacity = 0.1f;
    // 场景宽高
    public const int CanvasWidthGrid = 16;
    public const int CanvasHeightGrid = 9;
    // 墙体偏移
    public const float offsetX = 0.3f;
    public const float offsetY = 0.3f;
}

enum MoveDir {Right, Left, Up, Down};